<div class="spacer"></div>
<div>
    <p>
        <a mce_href="#" href="#">
            <?php
            $v = Settings::model()->findByAttributes(array('key' => 'banner_top_left'));

            if (strpos($v->urlPhoto, '.swf') > 0) :
                ?>
                <object WIDTH="188" HEIGHT="205" style="margin-left: -100px;"
                        classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
                        codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
                    <param name="SRC" value="<?php echo $v->urlPhoto; ?>">
                    <embed src="<?php echo $v->urlPhoto; ?>" WIDTH="188" HEIGHT="205"></embed>
                </object>
            <?php else : ?>
                <?php
                echo CHtml::image($v->urlPhoto, '', array('height' => 287, 'width' => 180));
            endif;
            ?>
        </a>
        <br mce_bogus="1">
    </p>

</div>
<div class="spacer"></div>

<div class="spacer"></div>

<div style="clear: both"></div>
<div class="spacer"></div>

<div class="tab_main">
    <div class="tab_title">Hỗ trợ trực tuyến</div>
</div>
<div class="tab_main_c">
    <?php
    $support_online = unserialize(OpdSettings::model()->find('`key`="support_online"')->value);
    $i = 0;
    ?>
    <div class="Support">
        <p >Kinh doanh</p>
        <?php foreach ($support_online as $v): ?>

            <a tabindex="0" id="" href="ymsgr:sendIM?<?php echo $v['uid'] ?>">
                <img id="" src="http://opi.yahoo.com/online?u=<?php echo $v['uid'] ?>&amp;m=g&amp;t=1" style="border-width:0px;" align="absmiddle">
            </a>
            <span class="info"><?php echo $v['phone'] ?></span>
        <?php endforeach; ?>
    </div>
    <div class="Support">
        <p>Kỹ thuật</p>
        <a tabindex="0" id="" href="ymsgr:sendIM?anhduc.bkhn">
            <img id="" src="http://opi.yahoo.com/online?u=anhduc.bkhn&amp;m=g&amp;t=1" style="border-width:0px;" align="absmiddle">
        </a>
        <span class="info">0462.884.585</span>
    </div>

</div>
<div class="spacer"></div>

<div class="tab_main">
    <div class="tab_title">Tin tức</div>
</div>
<div class="tab_main_c">
    <marquee behavior="scroll" direction="up" scrollamount="2" height="300px">

        <?php $this->widget('application.components.ListNewsWidget'); ?>
    </marquee>                  
</div>
<div class="spacer"></div>